package com.xiuxiu.manage.back_manage.service.impl;

import com.xiuxiu.manage.back_manage.dao.AdminDao;
import com.xiuxiu.manage.back_manage.entity.Admin;
import com.xiuxiu.manage.back_manage.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl extends BaseService<Admin> implements AdminService {

    @Autowired
    private AdminDao adminDao;

    @Override
    public Admin adminlogin(String name) {

        return adminDao.adminlogin(name);
    }
}
